package com.ruoyi.system.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 菜品档案对象 d_dishes
 *
 * @author tjm
 * @date 2025-04-03
 *
 */
@Data
public class DDishes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品ID */
    private Long id;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String name;

    /** 口味ID */
    @Excel(name = "口味ID")
    private Long fid;

    /** 菜品价格 */
    @Excel(name = "菜品价格")
    private BigDecimal price;

    /** 类别ID */
    @Excel(name = "类别ID")
    private Long categoriesId;

    /** 状态默认0（0：在售/1：停售） */
    @Excel(name = "状态默认0", readConverterExp = "0=：在售/1：停售")
    private Integer status;

    /** 规格ID */
    @Excel(name = "规格ID")
    private Long sizesId;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String img;
    private String kwName;
    private String lbName;
    private String ggName;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setFid(Long fid)
    {
        this.fid = fid;
    }

    public Long getFid()
    {
        return fid;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setCategoriesId(Long categoriesId)
    {
        this.categoriesId = categoriesId;
    }

    public Long getCategoriesId()
    {
        return categoriesId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setSizesId(Long sizesId)
    {
        this.sizesId = sizesId;
    }

    public Long getSizesId()
    {
        return sizesId;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("fid", getFid())
            .append("price", getPrice())
            .append("categoriesId", getCategoriesId())
            .append("status", getStatus())
            .append("sizesId", getSizesId())
            .append("img", getImg())
            .append("remark", getRemark())
            .toString();
    }
}
